body {
    background-color: #EFE2CC;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensures no inline spacing */
}

.core {
    width: 80%;
    min-height: 100vh; /* Make sure it fills the viewport */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-wrap: break-word; /* Break long words to prevent overflow */
    word-wrap: break-word; /* Ensure compatibility with older browsers */
    word-break: break-word; /* Break words when necessary */
    hyphens: auto; /* Automatically hyphenate long words if possible */
    overflow-x: hidden;
}

.navbar {
    background-color: #b69e8d;
    padding: 1.2em;
    margin-top: -30px;
    text-align: right;
    position: relative;
    z-index: 5;
    
}
.navbuttons {
    padding-top: 2%;
    padding-left: 0.5%;
    padding-right: 0.5%;
    padding-bottom: 2%;
    color: #FFFBF4;
    text-decoration: none !important;
    font-size: 16pt;
    font-family: garamond;
}
.navborder {
    height: 20px;
    width: 1px;
    background-color: #FFFBF4;
    display: inline-block;
    margin-bottom: -4px;
}

/*.hamburger {
    width: 60px; 
    height: 50px; 
    position: absolute;
    top: 50%; 
    left: 10px; 
    transform: translateY(-50%); 
    z-index: 10;

    -webkit-mask: url("https://cdn1.iconfinder.com/data/icons/simple-basic-ui-outlined/28/Menu-512.png") center/contain no-repeat;
    mask: url("https://cdn1.iconfinder.com/data/icons/simple-basic-ui-outlined/28/Menu-512.png") center/contain no-repeat;

    background-color: #EFE2CC; 
}*/

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 30px;
    position: absolute;
    top: 50%; 
    left: 30px; 
    transform: translateY(-50%); 
    z-index: 50;
}

.hamburger .bar {
    background-color: #FFFBF4;
    height: 3px;
    width: 100%;
    border-radius: 2px;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background-color: #493E3A;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 3em;
    transition: transform 0.3s ease-in-out;
    transform: translateX(-100%);
    z-index: 1000;
}

.menu-item {
    text-decoration: none;
    color: #FFFBF4;
    font-size: 2em;
    font-family: garamond;
    margin: 1em 0;
    transition: color 0.2s;
}

.menu-item:hover {
    color: #FFE6C1;
}

/* Show the menu when active */
.menu.active {
    transform: translateX(0); /* Slide into view */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Black color with 20% opacity */
    opacity: 0; /* Initially hidden */
    z-index: 999; /* Slightly below the menu */
    transition: opacity 0.3s ease-in-out;
    pointer-events: none; /* Ensure overlay doesn't block interactions */
}

.menu.active ~ .overlay {
    opacity: 1; 
}

.overlay.active {
    opacity: 1; 
    pointer-events: auto; /* Ensure overlay can be interacted with */
}

.logo {
    margin-left: 8%;
    margin-top: 3%;
    position: relative;
    top: 25px;
    width: 120px;
    z-index: 10;
    img{
        max-width: 100%;
        z-index: 10;
    }
}
body, .menu-container {
    position: relative; /* Create a stacking context */
}
/*.main {
    background-color: #FFFBF4;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}*/
.main {
    background-color: #FFFBF4;
    width: 100%;
    min-height: 100%; /* Ensure it stretches with content */
    /*padding: 2%; Avoid margin collapse issues */
    display: flex;
    flex-direction: column; /* Stack children vertically */
}
.title {
    color: #493E3A;
    font-size: 4.2em;
    padding-top: 3.3%;
}

/*front banner stuff*/
.frontbanner {
    img {
        max-width: 80%;
    }
    /*background-image: url("https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/68bd3681-0469-4612-bf75-ead042a3955f/diw2g28-2c94076d-5ca6-4e22-851c-f139820567ff.png?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcLzY4YmQzNjgxLTA0NjktNDYxMi1iZjc1LWVhZDA0MmEzOTU1ZlwvZGl3MmcyOC0yYzk0MDc2ZC01Y2E2LTRlMjItODUxYy1mMTM5ODIwNTY3ZmYucG5nIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.uVuLubsCEDhN29kAMNBUx1LYnYvD6el1Q6q8-qY59uw");
    width: 100%;
    height: 100px;
    background-size: cover;*/
}

.fbphone {
    height: 375px;
    margin-top: -80%;
}

.fbphone img {
    object-fit: cover;
    width: auto;
    height: 170%;
}
.intro {
    font-size: 2.6em;
    font-family: garamond;
    color: #FFFBF4;
    margin-top: -120%;
    width: 92%;
    hyphens: none;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.phonebutton {
    display: block;
    padding: .5em .9em .5em .9em;
    text-align: center;
    gap: 1em;
    background: #493E3A;
    font-size: 2.4em;
    color: #FFFBF4;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    width: 80%;
    text-decoration: none !important;
    border-radius: 4%;
    margin-top: 18%;
}
.phonebutton a {
    color: #FFFBF4;
    text-decoration: none;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.bannertext {
    position: relative;
    margin-left: 41%;
    margin-top: -25%;
    margin-right: 6%;
    font-size: 38pt;
    font-family: garamond;
    color: #493E3A;
    hyphens: none;
}
.bannerbutton {
    display: block;
    padding: .8em;
    text-align: center;
    gap: 1em;
    border-radius: .8em;
    background: #493E3A;
    font-size: 1.5em;
    color: #FFFBF4;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    width: 35%;
    position: relative;
    margin-left: 49%;
    margin-top: 10%;
    margin-bottom: 3%;
    text-decoration: none !important;
}
.bannerbutton a {
    color: #FFFBF4;
    text-decoration: none !important;
}

/*text blocks*/
.textblock {
    width: 100%;
    padding: 10%;
    margin-top: 15%;
    padding-bottom: 5%;
}
.textblock opener {
    font-size: 42pt;
    width: 100%;
    display: inline-block;
    font-family: garamond;
    margin-left: 5%;
    color: #493E3A;
    width: calc(90% - 20%); /* Adjust width to account for padding */
}
.textblock openersmall {
    width: calc(85%); /* Adjust width to account for padding */
    font-size: 30pt;
    display: inline-block;
    font-family: garamond;
    color: #493E3A;
}
.textblock2 openersmall {
    width: calc(85%); /* Adjust width to account for padding */
    font-size: 30pt;
    display: inline-block;
    font-family: garamond;
    color: #493E3A;
}
.textblock2 {
    width: 100%;
    padding: 10%;
    padding-top: 0;
    padding-bottom: 5%;
}
.textblock2 opener {
    font-size: 42pt;
    width: 100%;
    display: inline-block;
    font-family: garamond;
    margin-left: 70%;
    color: #493E3A;
}

.textblock3 {
    color: #493E3A;
    font-family: garamond;
    font-size: 24pt;
    padding: 2%;
    padding-bottom: 6%;
}

.textblock4 {
    width: 100%;
    padding: 10%;
    padding-top: 0;
    padding-bottom: 5%;
}
.textblock4 opener {
    font-size: 42pt;
    width: 100%;
    display: inline-block;
    font-family: garamond;
    margin-left: 10%;
    color: #493E3A;
}
.textblock5 {
    width: 100%;
    padding: 10%;
    padding-top: 0;
    padding-bottom: 5%;
}
.textblock5 opener {
    font-size: 42pt;
    width: 100%;
    display: inline-block;
    font-family: garamond;
    margin-left: 55%;
    color: #493E3A;
}
@media (max-width: 600px) {
    .textblock5 opener {
        margin-left: 35%;
    }
}


.float-image-1 {
    float: left; /* Floats the image to the left */
    margin: 0 15px 15px 0; /* Adds spacing around the image */
    max-width: 35%; /* Ensures the image doesn’t take up too much space */
    height: auto; /* Maintains the aspect ratio */
    border-radius: 8px; /* Optional: Adds rounded corners to the image */
}
.float-image-2 {
    float: right; /* Floats the image to the left */
    margin: 15px 15px 15px 30px; /* Adds spacing around the image */
    max-width: 25%; /* Ensures the image doesn’t take up too much space */
    height: auto; /* Maintains the aspect ratio */
    border-radius: 8px; /* Optional: Adds rounded corners to the image */
}

.tbt img {
    margin-top: 0; /* Ensures the image stays in its natural position */ 
}

.tbtt {
    margin-top: 30px; /* Adjusts the starting position of the text */
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.tbtt2 h2 {
    text-indent: 1em;
    color: #493E3A;
} 
.tbtt2 h1 {
    text-indent: 1em;
    color: #493E3A;
} 
.tbtt2 {
    display: flex; /* Use flexbox to arrange children side-by-side */
    justify-content: space-between; /* Add space between the boxes */
    gap: 50px; /* Optional: Add spacing between the boxes */
    flex-wrap: wrap; /* Ensure boxes wrap on smaller screens */
}
.box {
    padding: 5px;
    flex: 1 1 calc(50% - 50px); /* Each box takes 50% of the container width minus the gap */
    padding: 20px; /* Add some padding for aesthetics */
    box-sizing: border-box; /* Ensure padding is included in width */
    a {
        color: #aa7e6e;
        font-size: 1.2em;
    }
}
@media (max-width: 600px) {
    .tbtt2 {
        flex-direction: column; /* Stack boxes vertically */
        gap: 20px; /* Optional: smaller gap between stacked boxes */
    }

    .box {
        flex: 1 1 100%; /* Each box takes full width */
    }
}

/*.tbt {
    width: 80%;
    padding: 10%;
    display: inline-block;
}*/
.tbt {
    width: calc(100% - 20%); /* Adjust width to account for padding */
    display: block;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    display: flex; /* Enables flexible layout for image and text */
    align-items: flex-start; /* Aligns items to the top */
    gap: 15px; /* Adds consistent spacing between the image and the text */
    a {
        color: #aa7e6e;
        font-size: 1.3em;
    }
}
.right-align {
    text-align: right; /* Aligns the content to the right */
    margin-top: 10px; /* Adds some space between the text and the link */
    display: block;
    width: calc(100% - 20%); /* Adjust width to account for padding */
    a {
        color: #aa7e6e;
        font-size: 1.3em;
    }
}
.textblock2 .tbt {
    text-align: right;
}
.tbb {
    background-color: #493E3A;
    color: #FFFBF4;
    padding: .8%;
    padding-left: 6%;
    padding-right: 6%;
    border-radius: .6em;
    text-decoration: none !important;
}
.tbb a, .tbb a:visited, .tbb a:focus, .tbb a:hover {
    background-color: #493E3A;
    color: #FFFBF4;
    padding: .8%;
    padding-left: 6%;
    padding-right: 6%;
    border-radius: .6em;
    text-decoration: none !important; /* Remove underline */
}

/*.divider {
    height: 1px;
    width: 80%;
    background-color: #e0c3b8;
    display: inline-block;
}*/
.divider {
    height: 1px;
    width: 80%;
    background-color: #e0c3b8;
    display: inline-block;
    margin: 2% auto; /* Center horizontally */
}

/*gallery core
.gallerydesktop {
    margin-left: 10%;
    margin-right: 7%;
}
.gallerydesktop td {
    padding-left: -100px;
    padding-right: -100px;
}
.gallerydesktop img {
    max-width: 80%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}
.gallerydesktop img:hover {
    transform: scale(1.6);
}*/
.gallerydesktop {
    margin-left: 10%;
    margin-right: 7%;
    border-collapse: collapse; /* Ensure cells don't have additional spacing */
}

.gallerydesktop td {
    width: 200px; /* Set a fixed width for each cell */
    height: 200px; /* Set a fixed height for each cell */
    text-align: center; /* Center align the content */
    vertical-align: middle; /* Center the content vertically */
}

.gallerydesktop img {
    max-width: 100%; /* Make sure the image doesn't exceed the cell's width */
    max-height: 100%; /* Make sure the image doesn't exceed the cell's height */
    width: auto; /* Preserve aspect ratio */
    height: auto; /* Preserve aspect ratio */
    transition: transform 0.3s ease-in-out; /* Keep the hover effect */
}

.gallerydesktop img:hover {
    transform: scale(1.6); /* Keep the hover scale effect */
}

.gallerymobile {
    justify-content: center; /* Centers the gallery on the screen */
    display: flex;
    flex-wrap: wrap; /* Enables wrapping into rows */
    gap: 10px; /* Adds spacing between items */
    width: 90%; /* Sets the gallery width */
    box-sizing: border-box; /* Ensures the width includes padding */
    margin: 0 auto; /* Centers the entire gallery */
}

.gallerymobile div {
    width: 120px; /* Fixed width for each image container */
    height: 120px; /* Fixed height for each image container */
    display: flex;
    justify-content: center; /* Centers the image horizontally */
    align-items: center; /* Centers the image vertically */
    overflow: hidden; /* Ensures the image doesn't overflow the container */
    border: 1px solid #ccc; /* Optional: Adds a border around each image */
    border-radius: 8px; /* Optional: Adds rounded corners for a modern look */
}

.gallerymobile img {
    max-width: 100%; /* Ensures images scale down to fit the container width */
    max-height: 100%; /* Ensures images scale down to fit the container height */
    width: auto; /* Preserves aspect ratio */
    height: auto; /* Preserves aspect ratio */
}

.gallerybox {
    width: 100%;
    img { max-width: 100%;
    height: auto;
    }
}

/*.gallerymobile {
    justify-content: flex-end; 
    display: flex;
    flex-wrap: wrap; 
    width: 90%; 
    box-sizing: border-box; 
}*/

/*footer stuff
.footer {
    background-color: #AC9382DB;
    padding: 1%;
}
.footercontent {
    padding: 20%;
    color: #FFFBF4;
}*/
.footer {
    background-color: #AC9382DB;
    padding: 1%;
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Push content to opposite ends */
}

.footercontent {
    padding: 2%;
    color: #FFFBF4;    
    width: 100%; /* Ensure it takes up the full width */
}

.footercontent td:nth-child(2) {
    text-align: right; /* Align the second td to the right */
}

.smb {
    width: 25px;
    height: 25px;
    padding-right: 6px;
    img {
        object-fit: scale-down;
        filter: invert(1);
    }
}
.smb {
    display: inline-block; /* Ensures elements are displayed side by side */
    margin: 0 10px; /* Optional: Adds spacing between buttons */
    vertical-align: middle; /* Aligns buttons vertically if they differ in size */
}

.footercontent td {
    text-align: center; /* Centers the social media buttons within their table cell */
    vertical-align: middle;
}

.footercontent {
    width: 100%; /* Ensures the table spans the footer area */
    margin: 0 auto;
}


/*@media screen and (max-width: 768px) {
    .logo {
        width: 20%;
        max-width: 120px;
        margin-top: 0.2%;
        margin-right: 8%;
        margin-left: auto;
        }
    .core {
            width: 100%;
        }
    .ft {
            border-spacing: 5px;
        }
    .navbuttons {
            visibility: hidden;
            display: none;
        }
    .navbar {
            padding: 4em;
            padding-top: 1.2em;
            margin-top: -28px;
        }
    .navborder {
        visibility: hidden;
        display: none;
    }
    .navbuttons-container {
        visibility: hidden;
        display: none;
    }
    .gallerydesktop {
        visibility: hidden;
        display: none;
    }
    .frontbanner {
        display: hidden;
        visibility: none;
    }
    .frontbannerios {
        width: 100%;
        display: block;
        font-family: garamond;
        color: #493E3A;
        font-size: 24px;
    }
}

@media screen and (min-width: 769px) {
    .frontbannerios {
        visibility: hidden;
        display: none;
    }
}*/

@media (min-width:601px) {
    .fbphone {
        display: none;
    }
    .phonebutton {
        display: none;
    }
}
@media (max-width: 600px) {
    .logo {
        width: 20%;
        max-width: 120px;
        margin-top: 0.2%;
        margin-right: 8%;
        margin-left: auto;
        }
    .core {
            width: 100%;
        }
    .ft {
            border-spacing: 5px;
        }
    .navbuttons {
            visibility: hidden;
            display: none;
        }
    .navbar {
            padding: 4em;
            padding-top: 1.2em;
            margin-top: -28px;
        }
    .navborder {
        visibility: hidden;
        display: none;
    }
    .navbuttons-container {
        visibility: hidden;
        display: none;
    }
    .gallerydesktop {
        visibility: hidden;
        display: none;
    }
    .frontbanner {
        visibility: hidden;
    }
    .textblock {
    margin-top: 1%;
    }
}

/*    .logo {
        width: 20%;
        max-width: 120px;
        margin-top: 0.2%;
        margin-right: 8%;
        margin-left: auto;
        }
    .core {
            width: 100%;
        }
    .ft {
            border-spacing: 5px;
        }
    .navbuttons {
            visibility: hidden;
            display: none;
        }
    .navbar {
            padding: 4em;
            padding-top: 1.2em;
            margin-top: -28px;
        }
    .navborder {
        visibility: hidden;
        display: none;
    }
    .navbuttons-container {
        visibility: hidden;
        display: none;
    }
    .gallerydesktop {
        visibility: hidden;
        display: none;
    }
    }*/

@media (max-width: 759px) and (min-width: 601px) {
    .logo {
        width: 20%;
        max-width: 120px;
        margin-top: 0.2%;
        margin-right: 8%;
        margin-left: auto;
        }
    .core {
            width: 100%;
        }
    .ft {
            border-spacing: 5px;
        }
    .navbuttons {
            visibility: hidden;
            display: none;
        }
    .navbar {
            padding: 4em;
            padding-top: 1.2em;
            margin-top: -28px;
        }
    .navborder {
        visibility: hidden;
        display: none;
    }
    .navbuttons-container {
        visibility: hidden;
        display: none;
    }
    .gallerydesktop {
        visibility: hidden;
        display: none;
    }
}

@media (min-width: 760px) {
    .navbuttons {
        visibility: visible;
        }
    .hamburger {
        visibility: hidden;
        display: none;
    }
    .gallerymobile {
        visibility: hidden;
        display: none;
    }
    }

/*@media (max-aspect-ratio: 1.01) {
    .navbuttons {
        visibility: hidden;
        display: none;
    }
    .navbuttonsmid {
        visibility: visible;
    }
}*/
@media (max-aspect-ratio: 1.01) {
    .navbar {
        display: flex;
        flex-wrap: wrap; /* Allows items to wrap into rows */
        justify-content: flex-end; /* Align buttons to the right */
        text-align: center;
        width: 100%; /* Full width of the navbar */
        box-sizing: border-box;
    }
    .navbuttons-container {
        justify-content: flex-end; /* Aligns buttons to the right */
        display: flex;
        flex-wrap: wrap; /* Enables wrapping into rows */
        width: 60%; /* Buttons occupy 60% of the navbar */
        box-sizing: border-box; /* Ensures width includes padding */
    }
    .navbuttons {
        flex: 1 0 18%; /* Each button takes ~30% of the row width within the container */
        margin: 0.2em; /* Add spacing between buttons */
        text-align: center;
    }
    .navborder {
        margin-top: 8px;
        height: 35px;
    }
    .bannerbutton {
        padding: .5em;
        margin-top: 8%;
        margin-bottom: 10%;
        font-size: 1.2em;
    }
}


@media (min-aspect-ratio: 1.3) {
    .bannerbutton {
        margin-top: -14%;
        margin-left: 55%;
        width: 25%;
    }
}
@media (min-aspect-ratio: 1.5) {
    .logo {
        width: 140px;
    }
    .frontbanner {
        img {
            height: 700px;
        }
    }
}
@media (max-aspect-ratio: 1.8) {
    .bannertext {
        margin-top: -30%;
    }
}
@media (max-aspect-ratio: 1.6) {
    .bannertext {
        margin-top: -35%;
        font-size: 32pt;
    }
    .navbuttons {
        font-size: 14pt;
    }
}
@media (max-aspect-ratio: 1.3) {
    .bannertext {
        margin-top: -40%;
        font-size: 32pt;
    }
    .navbuttons {
        font-size: 12pt;
    }
    .bannerbutton {
        margin-top: -16%;
    }
}
@media (max-aspect-ratio: 1.12) {
    .bannertext {
        font-size: 24pt;
    }
}
@media (max-aspect-ratio: 0.9) and (min-width: 760px) {
    .bannertext {
        margin-top: -50%;
    }
}
@media (max-aspect-ratio: 0.9) and (max-width: 671px) and (min-width: 601px) {
    .bannertext {
        margin-top: -50%;
    }
}

@media (max-aspect-ratio: 0.9) and (max-width: 671px) and (min-width: 601px) {
    .bannertext {
        margin-top: -50%;
    }
}

@media (min-aspect-ratio: 2) and (min-width: 2000px) {
    .core {
        width: 70%;
    }
}
@media (min-aspect-ratio: 2) and (min-width: 3000px) {
    .core {
        width: 60%;
    }
}
/*responsive modifiers*/
/* CHANGE TO ASPECT RATIOS NOT DIMENSIONS!!!!!!
@media screen and (min-width: 900px) {
    .ft {
        border-spacing: 10px;
    }
}
@media screen and (min-width: 600px) {
    .hamburger {
        visibility: hidden;
        display: none;
    }
}

@media screen and (max-width: 900px) {
    .logo {
    width: 20%;
    max-width: 120px;
    margin-top: 0.2%;
    }
    .core {
        width: 90%;
    }
    .ft {
        border-spacing: 5px;
    }
    .navbuttons {
        visibility: hidden;
    }
  }
@media screen and (max-width: 600px) {
    .core {
        width: 100%;
        margin-top: 0.2%;
    }
    .logo {
        margin-right: 8%;
        margin-left: auto;
    }
    .hamburger {
        visibility: visible;
    }
    .navbar {
        max-height: 109px;
        padding-top: 0%;
        padding-bottom: 3%;
    }
  }
@media screen and (min-width: 1400px) {
    .core {
        width: 1000px;
    }
  }*/
/* use later
@media (max-aspect-ratio: 0.6) {

}
*/